<section id="index">
    <div class="page-top clearfix">
        <div class="panel panel-left pull-left">
            <div class="panel-heading clearfix">
                <div class="pull-left userImg">
                    <img src="../../images/user1.png" alt="">
                </div>
                <div class="pull-left userOther">
                    <p>{{::data.user.name}}</p>
                    <a ui-sref="user.userInfo">个人中心</a>
                </div>
            </div>
            <div class="panel-body">
                <!--<p>浙江工商大学</p>-->
                <p>学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：{{::data.user.code}}</p>
                <p>函&nbsp;&nbsp;授&nbsp;&nbsp;站：{{::data.user.stationName}}</p>
                <p>入学批次：{{::data.user.batchName}}</p>
                <p>专&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业：{{::data.user.majorName}}</p>
                <p>层&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;次：{{::data.user.levelName}}</p>
                <p>班&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级：{{::data.user.classesName}}</p>
            </div>
            <div class="panel-footer clearfix">
                <div><span >总&nbsp;&nbsp;学&nbsp;&nbsp;分：<i>{{::data.fullScore}}</i></span><span>本学期应修学分：<i>{{::data.term.totalScore}}</i></span></div>
                <div><span>已修学分：<i>{{::viewBag.user.score}}</i></span><span>本学期已修学分：<i>{{::data.term.finishedScore}}</i></span></div>
                
                <!--<div class="pull-left">
                    <span>{{::data.term.totalScore}}</span>
                    <p>总学分</p>
                </div>
                <div class="pull-right">
                    <span>{{::data.term.finishedScore}}</span>
                    <p>已学</p>
                </div>-->
            </div>
        </div>
         <div class="panel panel-right pull-left">
             <div class="panel-heading clearfix">
                 <div class="pull-left"><i></i><b>学习进度</b> <em>[{{data.user.termName}}]</em></div>
                 <a class="pull-right" ui-sref="course.courseStudy">more &gt;</a>
             </div>
             <div class="panel-body">
                 <p>本学期应修课程：<span>{{data.term_course_count}}</span>门&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本学期已完成课程：<span>{{data.term.finishedCourse}}</span>门</p>
                
                 <div ng-repeat="item in data.term.scores" class="clearfix courseItem">
                      <span class="pull-left">{{::item.courseName}}</span>
                      <div class="progress pull-left" >
                        <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"  ng-style="{width:item.percent*100+'%'}">
                            <span class="sr-only">{{::item.percent*100|number:2}}% Complete</span>
                        </div>
                      </div>
                      <div class="progressNum pull-left">{{::item.percent*100|number:2}}%</div>
                      <a ui-sref="course.wareView({courseId:item.courseId,wareId:0})" class="pull-left">继续学习</a>
                 </div>
             </div>
         </div>
    </div>
    <div class="page-middle clearfix">
        <div class="panel panel-left pull-left">
            <div class="panel-heading">
                <b>考试相关</b>
            </div>
            <div class="panel-body">
                <a ui-sref="user.score" class="btn btn-block"><em></em>成绩查询</a>
                <a ui-sref="examTicket" class="btn btn-block" ><em></em>准考证打印</a>
                <a ui-sref="teachPlan.examArrange" class="btn btn-block"><em></em>考试安排</a>
                <a ui-sref="course.examPrepare" class="btn btn-block"><em></em>考前辅导</a>
            </div>
        </div>
         <div class="panel panel-right pull-left">
              <a class="pull-right" ui-sref="notice.broadcast">more &gt;</a>
              <uib-tabset active="0" type="tabs" >
		            <uib-tab ng-repeat="items in data.noticeTypes" index="$index" >
		                <uib-tab-heading>
		                    <i></i>{{::items.name}}
		                </uib-tab-heading>
                        <div class="panel-body">
                            <div ng-repeat="item in items.subDatas" class="noticeItem">
                                <a class="clearfix" ui-sref="noticeDetail({id:item.id})">
                                    <span  class=" pull-left">[{{item.typeName}}]&nbsp;&nbsp;</span>
                                    <span class="title pull-left">{{item.name}}&nbsp;&nbsp;</span>
                                    <span class="date  pull-right">{{item.updateTime}}&nbsp;&nbsp;</span>
                                </a>
                            </div>
                        </div>
		            </uib-tab>
		        </uib-tabset>
         </div>
    </div>
    <div class="page-bottom clearfix">
        <div class="panel panel-left pull-left" >
            <div class="panel">
                <a href="http://www.chsi.com.cn/" target="_blank">
                    <img src="../../images/11.png" alt="">
                    <b>学信网</b>
                </a>
            </div>
             <div class="panel">
                <a href="http://www.xinhua.org/" target="_blank">
                    <img src="../../images/12.png" alt="">
                    <b>新华社</b>
                </a>
            </div>
             <div class="panel">
                <a href="http://www.cdce.cn/" target="_blank">
                    <img src="../../images/13.png" alt="">
                    <b>统考网站</b>
                </a>
            </div>
        </div>
         <div class="panel panel-right pull-left">
             <div class="panel-heading">
                <b> <i></i>相关页面</b>
             </div>
             <div class="panel-body">
                 <ul class="clearfix">
                     <li class="pull-left">
                         <a ui-sref="teachPlan.courseSelect">
                             <div>
                                <img src="../../images/7.png" alt="">
                             </div>
                             <p>选择课程</p>
                         </a>
                     </li>
                     <li class="pull-left">
                         <a ui-sref="course.courseStudy">
                             <div>
                                <img src="../../images/8.png" alt="">
                             </div>
                             <p>课件学习</p>
                         </a>
                     </li>
                     <li class="pull-left">
                         <a ui-sref="course.coursework">
                             <div>
                                <img src="../../images/9.png" alt="">
                             </div>
                             <p>课程作业</p>
                         </a>
                     </li>
                     <li class="pull-left">
                         <a ui-sref="course.question.allQuestion">
                             <div>
                                <img src="../../images/10.png" alt="">
                             </div>
                             <p>知识问答</p>
                         </a>
                     </li>
                 </ul>
             </div>
         </div>
    </div>
</section>
